function updateUser(checkedId) {
	var url = _BMSUSER_UPDATE_URL;
	if (!checkedId) {
		return false;
	} else {
		$.go(url, {
			data : {
				checkUserId : checkedId
			},
			dataType : 'html',
			success : function(data, textStatus) {
				replaceDocument(url + "?checkUserId=" + checkedId, data);
			},
			beforeSend : function() {
				showProccessBar();
			},
			error : function() {
				hideProccessBar();
			}
		});
	}
}

function view(checkedId) {
	var url = _BMSUSER_VIEW_URL;
	if (!checkedId) {
		return false;
	} else {
		$.go(url, {
			data : {
				id : checkedId
			},
			dataType : 'html',
			success : function(data, textStatus) {
				replaceDocument(url + "?id=" + checkedId, data);
			},
			beforeSend : function() {
				showProccessBar();
			},
			error : function() {
				hideProccessBar();
			}
		});
	}
}

function resetpwd(checkedId) {
	$.ajax({
		url : _BMSUSER_RESET_PASSWORD_URL,
		data : {
			checkUserId : checkedId
		},
		beforeSend : function() {
			showProccessBar();
		},
		complete : function() {
			hideProccessBar();
		},
		success : function(data) {
			if (data && data.msgCode == 0) {
				_alert(data.message, true);
			} else {
				_alert("系统异常");
			}
		}
	});
}